//
//  KSTabButtonView.h
//  Dingdong
//
//  Created by 程强 on 16/11/17.
//  Copyright © 2016年 程强. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KSTabButtonView;
@protocol KSTabButtonViewDelegate <NSObject>
- (void)ksTabButtonView:(KSTabButtonView *)tabView didSelectIndex:(NSInteger)index;
@end

@interface KSTabButtonView : UIView
@property (strong, nonatomic) NSArray *items;
@property (weak, nonatomic) id<KSTabButtonViewDelegate> delegate;
@property (nonatomic) BOOL showIntervalLine;
@property (nonatomic) BOOL showHoritonzalLine;
@property (nonatomic) CGFloat leading;
@property (nonatomic) NSInteger defaultSelectIndex;
@property (nonatomic) NSInteger currentSelectIndex;
@property (strong, nonatomic) UIColor *selectedColor;
@end
